import React from 'react'
import { useParams } from 'react-router-dom'
export default function Detail() {
    const a = useParams()
    console.log(a)
    return (
        <div>
            <h2>{a.title}</h2>
            <p>
                {a.describe}
            </p>
        </div>
    )
}
